<extend name="Public/usercenter" xmlns="http://www.w3.org/1999/html"/>
<extend name="Base/common"/>

<block name="body">
    <div class="use-div">
        <div style="border-bottom: 1px solid #d1d1d1;color: #999999">
            <h4>{$call}的出租信息</h4>
        </div>

        <div class="count">
            共有&nbsp;{$totalCount}&nbsp;条出租信息
        </div>
       <volist name="list" id="vo">

        <div class="user-mod">
            <div>
                <span class="user-title"> <a href="{:U('House/Index/chuzu_detail',array('id'=>$vo['id']))}">{$vo.title}</a></span>
                <span style="display: inline-block;">

                <a href="{:U('Usercenter/House/edit_chuzu',array('id'=>$vo['id']))}">编辑</a>&nbsp;&nbsp;



                <a onclick="return disp_confirm()" href="{:U('Usercenter/House/delete_chuzu',array('id'=>$vo['id']))}">删除</a>
                </span>
            </div>


            <div class="house-time pull-left">{$vo.time|time_format}</div>
            <div class="house-browse pull-right">阅读（{$vo.browse}）</div>


        </div>

        </volist>








    </div>


    <div class="row">
        <div class="col-xs-12">
            <div class="pull-right">
                {:getPagination($totalCount,$pagenum)}
            </div>
        </div>
    </div>
    <script type="text/javascript">

        function disp_confirm()

        {

            var r=confirm("确认删除")

            if (r==true)

            {
           return true;
            }

            else
            {
               return false;
            }

        }



    </script>



</block>